import request from '@/utils/request'

const prefix = "/api/RpConAdjust"

/**
 *  矛盾调解新增
 */
export function contradictionInsert(data) {
	return request({
		url: prefix + `/insert`,
		method: 'post',
		data
	})
}

/**
 *  矛盾调解更新
 */
export function contradictionUpdate(data) {
	return request({
		url: prefix + `/update`,
		method: 'post',
		data
	})
}

/**
 *  矛盾调解办结
 */
export function contradictionOver(data) {
	return request({
		url: prefix + `/over`,
		method: 'post',
		data
	})
}

/**
 *  矛盾调解列表
 */
export function contradictionList(data) {
	return request({
		url: prefix + `/list`,
		method: 'post',
		data
	})
}

/**
 *  矛盾调解详情
 */
export function contradictionDetails(id) {
	return request({
		url: prefix + `/details/${id}`,
		method: 'get'
	})
}

/**
 *  矛盾调解详情
 */
export function contradictionDelete(id) {
	return request({
		url: prefix + `/delete/${id}`,
		method: 'get'
	})
}








